package com.facebook.common.internal;

import java.util.Collections;
import java.util.HashMap;
import java.util.Map;

public class ImmutableMap extends HashMap {
    private ImmutableMap(Map arg1) {
        super(arg1);
    }

    public static ImmutableMap copyOf(Map arg1) {
        return new ImmutableMap(arg1);
    }

    public static Map of() {
        return Collections.unmodifiableMap(new HashMap());
    }

    public static Map of(Object arg1, Object arg2) {
        HashMap v0 = new HashMap();
        ((Map)v0).put(arg1, arg2);
        return Collections.unmodifiableMap(((Map)v0));
    }

    public static Map of(Object arg1, Object arg2, Object arg3, Object arg4) {
        HashMap v0 = new HashMap();
        ((Map)v0).put(arg1, arg2);
        ((Map)v0).put(arg3, arg4);
        return Collections.unmodifiableMap(((Map)v0));
    }

    public static Map of(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6) {
        HashMap v0 = new HashMap();
        ((Map)v0).put(arg1, arg2);
        ((Map)v0).put(arg3, arg4);
        ((Map)v0).put(arg5, arg6);
        return Collections.unmodifiableMap(((Map)v0));
    }

    public static Map of(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8) {
        HashMap v0 = new HashMap();
        ((Map)v0).put(arg1, arg2);
        ((Map)v0).put(arg3, arg4);
        ((Map)v0).put(arg5, arg6);
        ((Map)v0).put(arg7, arg8);
        return Collections.unmodifiableMap(((Map)v0));
    }

    public static Map of(Object arg1, Object arg2, Object arg3, Object arg4, Object arg5, Object arg6, Object arg7, Object arg8, Object arg9, Object arg10) {
        HashMap v0 = new HashMap();
        ((Map)v0).put(arg1, arg2);
        ((Map)v0).put(arg3, arg4);
        ((Map)v0).put(arg5, arg6);
        ((Map)v0).put(arg7, arg8);
        ((Map)v0).put(arg9, arg10);
        return Collections.unmodifiableMap(((Map)v0));
    }
}

